package com.daylightrobbery.entity;

public class UserSignInLog {

    public static final String ONLINE = "online";
    public static final String OFFLINE = "offline";
    private Integer logId;
    private String uid;
    private String type;
    private String ctime;
    private String ip;
    private String province;
    private String city;
    private String region;
    private String addr;
    private String deviceModel;
    private String deviceName;
    private String deviceType;

    public Integer getLogId() {
        return logId;
    }

    public UserSignInLog setLogId(Integer logId) {
        this.logId = logId;
        return this;
    }

    public String getUid() {
        return uid;
    }

    public UserSignInLog setUid(String uid) {
        this.uid = uid;
        return this;
    }

    public String getType() {
        return type;
    }

    public UserSignInLog setType(String type) {
        this.type = type;
        return this;
    }

    public String getCtime() {
        return ctime;
    }

    public UserSignInLog setCtime(String ctime) {
        this.ctime = ctime;
        return this;
    }

    public String getIp() {
        return ip;
    }

    public UserSignInLog setIp(String ip) {
        this.ip = ip;
        return this;
    }

    public String getProvince() {
        return province;
    }

    public UserSignInLog setProvince(String province) {
        this.province = province;
        return this;
    }

    public String getCity() {
        return city;
    }

    public UserSignInLog setCity(String city) {
        this.city = city;
        return this;
    }

    public String getRegion() {
        return region;
    }

    public UserSignInLog setRegion(String region) {
        this.region = region;
        return this;
    }

    public String getAddr() {
        return addr;
    }

    public UserSignInLog setAddr(String addr) {
        this.addr = addr;
        return this;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public UserSignInLog setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
        return this;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public UserSignInLog setDeviceName(String deviceName) {
        this.deviceName = deviceName;
        return this;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public UserSignInLog setDeviceType(String deviceType) {
        this.deviceType = deviceType;
        return this;
    }

    @Override
    public String toString() {
        return "UserSignInLog{" +
                "logId=" + logId +
                ", uid='" + uid + '\'' +
                ", type='" + type + '\'' +
                ", ctime='" + ctime + '\'' +
                ", ip='" + ip + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", region='" + region + '\'' +
                ", addr='" + addr + '\'' +
                ", deviceModel='" + deviceModel + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", deviceType='" + deviceType + '\'' +
                '}';
    }
}
